package com.borrowing.service;

import com.borrowing.entity.Result;
import com.borrowing.entity.pojo.User;
import com.borrowing.entity.pojo.dto.FollowDto;
import com.borrowing.entity.pojo.dto.QueryDto;

import java.util.List;

/**
 * 用户模块
 * */
public interface UserService {

    Result registration(String userName);

    Result follow(FollowDto followDto);

    Result<List<User>> queryUser(QueryDto queryDto);
}
